package com.itheima.service.db;

import com.itheima.domain.db.TestSoulReport;

import java.util.List;

public interface TestSoulReportService {
    Integer save(TestSoulReport testSoulReport);

    void update(TestSoulReport testSoulReport);

    TestSoulReport findByUserIdAndNaireId(Long userId,Long naireId);

    TestSoulReport findById(Long reportId);

    List<TestSoulReport> findSimilar(Long naireId,Long userId,Long resultId);

    TestSoulReport findLastReport(Long userId, Long naireId);
}
